package com.zhb.lkd.pojos.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 售货机货道表
 * </p>
 *
 * @author haibin
 * @since 2024-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_channel")
@ApiModel(value="Channel对象", description="售货机货道表")
public class Channel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表Id")
    @TableId(value = "channel_id", type = IdType.AUTO)
    private Long channelId;

    @ApiModelProperty(value = "货道编号")
    private String channelCode;

    @ApiModelProperty(value = "商品Id")
    private Long skuId;

    @ApiModelProperty(value = "售货机Id")
    private Long vmId;

    @ApiModelProperty(value = "售货机软编号")
    private String innerCode;

    @ApiModelProperty(value = "货道最大容量")
    private Integer maxCapacity;

    @ApiModelProperty(value = "货道商品真实售价")
    private Integer price;

    @ApiModelProperty(value = "货道当前容量")
    private Integer currentCapacity;

    @ApiModelProperty(value = "上次补货时间")
    private LocalDateTime lastSupplyTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
